<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入类型名称" v-model="repairSettingManageInfo.conditions.repairTypeName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <select class="custom-select" v-model="repairSettingManageInfo.conditions.repairWay">
                                <option selected value="">请选择派单方式</option>
                                <option v-for="(item,index) in repairSettingManageInfo.repairWays" :key="index"
                                        :value="item.statusCd">{{item.name}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入派单类型" v-model="repairSettingManageInfo.conditions.repairType" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryRepairSettingMethod()">
                                <i class="fa fa-search"></i> 查询
                            </button>
                            <button type="button" class="btn btn-info btn-sm" v-on:click="_queryResetRepairSettingMethod()" style="margin-left: 20px;">
                                <i class="fa fa-repeat"></i> 重置
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>报修设置</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddRepairSettingModal()">
                            <i class="fa fa-plus"></i>添加
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">类型名称</th>
                                <th class="text-center">报修设置类型</th>
                                <th class="text-center">派单方式</th>
                                <th class="text-center">派单类型</th>
                                <th class="text-center">公共区域</th>
                                <!-- <th class="text-center">收费范围</th> -->
                                <th class="text-center">是否回访</th>
                                <th class="text-center">创建时间</th>
                                <th class="text-center">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="repairSetting in repairSettingManageInfo.repairSettings">
                                <td class="text-center">{{repairSetting.repairTypeName}}</td>
                                <td class="text-center">{{repairSetting.repairSettingTypeName}}</td>
                                <td class="text-center">{{repairSetting.repairWayName}}</td>
                                <td class="text-center">{{repairSetting.repairType}}</td>
                                <td class="text-center">{{repairSetting.publicArea == 'T'?'是':'否'}}</td>
                                <!-- <td class="text-center">{{repairSetting.payFeeFlag == 'T'?repairSetting.priceScope:'不收费'}}</td> -->
                                <td class="text-center">{{repairSetting.returnVisitFlagName}}</td>
                                <td class="text-center">{{repairSetting.createTime}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs" v-on:click="_openEditRepairSettingModel(repairSetting)">修改
                                    </button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs" v-on:click="_viewRepairTypeUser(repairSetting)">维修师傅
                                    </button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs" v-on:click="_openDeleteRepairSettingModel(repairSetting)">删除
                                    </button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="8">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <div class="row margin-top-xs">
                        <div class="col-sm-9">
                            <div> 派单方式：</div>
                            <div> 1、抢单 是员工（报修类型下的师傅）自主抢单 维修处理，比较实用于物业每单给维修是否提成的场景</div>
                            <div> 2、指派 专门由客服派单员工（报修类型下的师傅）维修处理，一般物业的选择</div>
                            <div> 3、轮训 由系统定时派单员工（报修类型下的师傅）维修处理</div>
                            <div> 公共区域：</div>
                            <div> 小区、楼栋、单元 为公共区域 房屋为非公共区域</div>
                            <div> 注意：一般业主房屋报修 我们必须要添加一个非公共区域的类型才能正常报修</div>

                        </div>
                        <div class="col-sm-3 float-right">
                            <vc:create path="frame/pagination"></vc:create>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="property/addRepairSetting" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/editRepairSetting"></vc:create>
    <vc:create path="property/deleteRepairSetting"></vc:create>
</div>